Optimal. Leaf size=438 \[ -\frac{2 b^2 n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{3 e^3}+\frac{9 b^2 d n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{2 e^3}-\frac{18 a b^2 d^2 n^2}{e^2 \sqrt [3]{x}}+\frac{9 b d^2 n \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{3 d^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{b n \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{9 b d n \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{2 e^3}-\frac{\left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{3 d \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{18 b^3 d^2 n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )}{e^3}+\frac{18 b^3 d^2 n^3}{e^2 \sqrt [3]{x}}+\frac{2 b^3 n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3}{9 e^3}-\frac{9 b^3 d n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2}{4 e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.452248, antiderivative size = 438, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 8, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {2454, 2401, 2389, 2296, 2295, 2390, 2305, 2304} \[ -\frac{2 b^2 n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{3 e^3}+\frac{9 b^2 d n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{2 e^3}-\frac{18 a b^2 d^2 n^2}{e^2 \sqrt [3]{x}}+\frac{9 b d^2 n \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{3 d^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{b n \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{9 b d n \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{2 e^3}-\frac{\left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{3 d \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{18 b^3 d^2 n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )}{e^3}+\frac{18 b^3 d^2 n^3}{e^2 \sqrt [3]{x}}+\frac{2 b^3 n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3}{9 e^3}-\frac{9 b^3 d n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2}{4 e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2454
Rule 2401
Rule 2389
Rule 2296
Rule 2295
Rule 2390
Rule 2305
Rule 2304
Rubi steps
\begin{align*} \int \frac{\left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{x^2} \, dx &=-\left (3 \operatorname{Subst}\left (\int x^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac{1}{\sqrt [3]{x}}\right )\right )\\ &=-\left (3 \operatorname{Subst}\left (\int \left (\frac{d^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^2}-\frac{2 d (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^2}+\frac{(d+e x)^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^2}\right ) \, dx,x,\frac{1}{\sqrt [3]{x}}\right )\right )\\ &=-\frac{3 \operatorname{Subst}\left (\int (d+e x)^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac{1}{\sqrt [3]{x}}\right )}{e^2}+\frac{(6 d) \operatorname{Subst}\left (\int (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac{1}{\sqrt [3]{x}}\right )}{e^2}-\frac{\left (3 d^2\right ) \operatorname{Subst}\left (\int \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac{1}{\sqrt [3]{x}}\right )}{e^2}\\ &=-\frac{3 \operatorname{Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}+\frac{(6 d) \operatorname{Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}-\frac{\left (3 d^2\right ) \operatorname{Subst}\left (\int \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}\\ &=-\frac{3 d^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{3 d \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{\left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{(3 b n) \operatorname{Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}-\frac{(9 b d n) \operatorname{Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}+\frac{\left (9 b d^2 n\right ) \operatorname{Subst}\left (\int \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}\\ &=\frac{9 b d^2 n \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{9 b d n \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{2 e^3}+\frac{b n \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{3 d^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{3 d \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{\left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{\left (2 b^2 n^2\right ) \operatorname{Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}+\frac{\left (9 b^2 d n^2\right ) \operatorname{Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}-\frac{\left (18 b^2 d^2 n^2\right ) \operatorname{Subst}\left (\int \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}\\ &=-\frac{9 b^3 d n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2}{4 e^3}+\frac{2 b^3 n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3}{9 e^3}-\frac{18 a b^2 d^2 n^2}{e^2 \sqrt [3]{x}}+\frac{9 b^2 d n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{2 e^3}-\frac{2 b^2 n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{3 e^3}+\frac{9 b d^2 n \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{9 b d n \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{2 e^3}+\frac{b n \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{3 d^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{3 d \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{\left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{\left (18 b^3 d^2 n^2\right ) \operatorname{Subst}\left (\int \log \left (c x^n\right ) \, dx,x,d+\frac{e}{\sqrt [3]{x}}\right )}{e^3}\\ &=-\frac{9 b^3 d n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2}{4 e^3}+\frac{2 b^3 n^3 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3}{9 e^3}-\frac{18 a b^2 d^2 n^2}{e^2 \sqrt [3]{x}}+\frac{18 b^3 d^2 n^3}{e^2 \sqrt [3]{x}}-\frac{18 b^3 d^2 n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )}{e^3}+\frac{9 b^2 d n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{2 e^3}-\frac{2 b^2 n^2 \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )}{3 e^3}+\frac{9 b d^2 n \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{9 b d n \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{2 e^3}+\frac{b n \left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^2}{e^3}-\frac{3 d^2 \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}+\frac{3 d \left (d+\frac{e}{\sqrt [3]{x}}\right )^2 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}-\frac{\left (d+\frac{e}{\sqrt [3]{x}}\right )^3 \left (a+b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )\right )^3}{e^3}\\ \end{align*}
Mathematica [A] time = 0.794028, size = 666, normalized size = 1.52 \[ \frac{-6 b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right ) \left (18 a^2 e^3-6 a b e n \left (6 d^2 x^{2/3}-3 d e \sqrt [3]{x}+2 e^2\right )+6 b d^3 n x (6 a-11 b n) \log \left (d \sqrt [3]{x}+e\right )+2 b d^3 n x \log (x) (11 b n-6 a)+b^2 e n^2 \left (66 d^2 x^{2/3}-15 d e \sqrt [3]{x}+4 e^2\right )\right )+108 a^2 b d^2 e n x^{2/3}-108 a^2 b d^3 n x \log \left (d \sqrt [3]{x}+e\right )+36 a^2 b d^3 n x \log (x)-54 a^2 b d e^2 n \sqrt [3]{x}+36 a^2 b e^3 n-36 a^3 e^3+18 b^2 \log ^2\left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right ) \left (e \left (-6 a e^2+6 b d^2 n x^{2/3}-3 b d e n \sqrt [3]{x}+2 b e^2 n\right )-6 b d^3 n x \log \left (d \sqrt [3]{x}+e\right )+2 b d^3 n x \log (x)\right )-18 b^2 d^3 n^2 x \log ^2\left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (6 a+6 b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )+6 b n \log \left (d \sqrt [3]{x}+e\right )-2 b n \log (x)-11 b n\right )+12 b^2 d^3 n^2 x \log \left (d+\frac{e}{\sqrt [3]{x}}\right ) \left (3 \log \left (d \sqrt [3]{x}+e\right )-\log (x)\right ) \left (6 a+6 b \log \left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )-11 b n\right )-396 a b^2 d^2 e n^2 x^{2/3}+396 a b^2 d^3 n^2 x \log \left (d \sqrt [3]{x}+e\right )-132 a b^2 d^3 n^2 x \log (x)+90 a b^2 d e^2 n^2 \sqrt [3]{x}-24 a b^2 e^3 n^2-36 b^3 e^3 \log ^3\left (c \left (d+\frac{e}{\sqrt [3]{x}}\right )^n\right )+510 b^3 d^2 e n^3 x^{2/3}+72 b^3 d^3 n^3 x \log ^3\left (d+\frac{e}{\sqrt [3]{x}}\right )-510 b^3 d^3 n^3 x \log \left (d \sqrt [3]{x}+e\right )+170 b^3 d^3 n^3 x \log (x)-57 b^3 d e^2 n^3 \sqrt [3]{x}+8 b^3 e^3 n^3}{36 e^3 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.348, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{2}} \left ( a+b\ln \left ( c \left ( d+{e{\frac{1}{\sqrt [3]{x}}}} \right ) ^{n} \right ) \right ) ^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.16536, size = 864, normalized size = 1.97 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.22042, size = 1781, normalized size = 4.07 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c{\left (d + \frac{e}{x^{\frac{1}{3}}}\right )}^{n}\right ) + a\right )}^{3}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]